package cn.mandy.sysadmin.dto;

import cn.mandy.sysadmin.common.util.MandyTree;

import java.util.List;

public class MandyMainMenu implements MandyTree<MandyMainMenu> {
//    id: 1,
//    title: "系统管理",
//    iconClass: "el-icon-location",
//    componentName: "Panel1",
    private List<MandyMainMenu> children;
    private Long id;
    private Long parentId;
    private String title;
    private String iconClass;
    private String componentName;

    @Override
    public List<MandyMainMenu> getChildren() {
        return children;
    }

    @Override
    public void setChildren(List<MandyMainMenu> children) {
        this.children = children;
    }

    @Override
    public Long getId() {
        return id;
    }

    @Override
    public void setId(Long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getIconClass() {
        return iconClass;
    }

    public void setIconClass(String iconClass) {
        this.iconClass = iconClass;
    }

    public String getComponentName() {
        return componentName;
    }

    public void setComponentName(String componentName) {
        this.componentName = componentName;
    }

    @Override
    public Long getParentId() {
        return parentId;
    }

    @Override
    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }
}
